<layout name="page" />
<block name="content">
	{:widget('page_header/adv_search',array('name'=>'我的信息','search'=>'M'))}
	<div class="x-panel hidden"  id="adv_search">
		<form method="post" name="form_adv_search" id="form_adv_search" class="layui-form">
			<div class="x-panel-header">
				<h4>高级搜索</h4>
				<div class="split"></div>
				<a  class="btn" id="submit_adv_search">搜索</a>
				<a  class="btn btn-return" id="close_adv_search">关闭</a>
			</div>
			<div class="x-panel-body">
				<div class="frame">
					<div class="box col-12">
						<div class="layui-form-item ">
							<label class=" input-label" for="li_name">标题：</label>
							
								<input  class="input" type="text" id="li_name" name="li_name" >
							</div>
						</div>
					</div>
					<div class="box col-12">
						
							<label class=" input-label" for="li_content">内容：</label>
							
								<input  class="input" type="text" id="li_content" name="li_content" >
							</div>
						</div>
					</div>
				</div>
			</div>
			<div class="frame">
				<div class="box col-12">
					<div class="layui-form-item ">
						<label class="input-label" for="eq_user_name">登录人：</label>
						
							<input  class="input" type="text" id="eq_user_name" name="eq_user_name" >
						</div>
					</div>
				</div>
				<div class="box col-12">
					
						<div class="layui-inline">
							<label class="input-label">登录时间：</label>
							<div class="input-inline" style="width: 100px;">
								<input type="text" class="input" name="be_create_time" readonly="readonly"/>
							</div>
							<div class="layui-form-mid">
								-
							</div>
							<div class="input-inline" style="width: 100px;">
								<input type="text" class="input" name="en_create_time" readonly="readonly"/>
							</div>
						</div>
					</div>
				</div>
			</div>
		</form>
	</div>
	<div class="ul-table message-container ul-table_responsive">
		<ul>
			<li class="thead">
				<span class="col-10  x1"> 标题 </span>
				<span class="col-10 text-center">编号</span>
				<span class="col-10 text-center">类型</span>
				<span class="col-6 text-center">发布人</span>
				<span class="col-6 text-center">部门</span>
				<span class="col-9 text-center">时间</span>
				<span class="col-6 text-center">操作</span>
			</li>
			<if condition="!empty($list)">
				<li class="no-data">
					没找到数据
				</li>
				<else/>
				<form method="post" action="" name="form_data" id="form_data">
					<foreach name="list" val="vo">
						<li class="tbody">
							<span class="col-10  x1"> <a href="{:url('read','id='.$vo['id'])}"> {$vo.name}
								<eq name="vo.name|strlen" value="0">
									无标题
								</eq></a> </span>
							<span class="col-10 text-center">{$vo.doc_no}</span>
							<span class="col-10 text-center ">{$vo.folder_name}</span>
							<span class="col-6 text-center ">{$vo.user_name}</span>
							<span class="col-6 text-center ">{$vo.dept_name}</span>
							<span class="col-9 text-center">{$vo.create_time|to_date='Y-m-d'}</span>
							<span class="col-6 text-center "><a id="sign_report" data="{$vo.id}" >签收情况</a></span>
						</li>
					</foreach>
				</form>
			</if>
		</ul>
		<notempty name="list">
			<div class="pagination">
				{$page}
			</div>
		</notempty>
	</div>
</block>
<block name="js">
	<script>
		layui.use(['global'], function() {
			var $ = layui.jquery;

			$(document).ready(function() {
				set_return_url(null);
			});
			$('#sign_report').on('click', function() {
				$id = $(this).attr("data");
				winopen(fix_url("{:url('sign_report')}?id=" + $id), 560, 470);
			});
		});
	</script>
</block>